//
//  VisitorLoginView.h
//  iOS07-Weibo-LPK-OC
//
//  Created by 罗培克 on 6/28/15.
//  Copyright © 2015 lpk. All rights reserved.
//

#import <UIKit/UIKit.h>

@class VisitorLoginView;

/// VisitorLoginViewDelegate
@protocol VisitorLoginViewDelegate <NSObject>
/// 登录按钮点击,代理方法
- (void)loginButtonClick:(VisitorLoginView *)visitorView;
/// 注册按钮点击,代理方法
- (void)registerButtonClick:(VisitorLoginView *)visitorView;

@end

@interface VisitorLoginView : UIView

@property(weak, nonatomic)id<VisitorLoginViewDelegate> delegate;

/// 开始 iconView 的旋转动画
-(void)startAnim;

/// 让不同的控制器设置不同的内容
- (void)setUpViewWithInfo:(NSString *)imageName message:(NSString *)message isHome:(BOOL)isHome;

@end
